package cn.com.zs.android.util;

/**
 * 提供地洞的位置
 * @author 曾帅
 */
public class HolePlace {

	public static int[] getDesignationPlace(int whichHole) {
		int[] hole_place = null;

		switch (whichHole) {
		case 1:
			hole_place = Constants.HOLE_PLACE_ONE;
			break;
		case 2:
			hole_place = Constants.HOLE_PLACE_TWO;
			break;
		case 3:
			hole_place = Constants.HOLE_PLACE_THREE;
			break;
		case 4:
			hole_place = Constants.HOLE_PLACE_FOUR;
			break;
		case 5:
			hole_place = Constants.HOLE_PLACE_FIVE;
			break;
		case 6:
			hole_place = Constants.HOLE_PLACE_SIX;
			break;
		case 7:
			hole_place = Constants.HOLE_PLACE_SEVEN;
			break;
		case 8:
			hole_place = Constants.HOLE_PLACE_EIGHT;
			break;
		case 9:
			hole_place = Constants.HOLE_PLACE_NINE;
			break;
		case 98:
			hole_place = Constants.GAME_OVER;
			break;
		case 99:
			hole_place = Constants.GAME_RESTART;
			break;
		default:
			break;
		}
		return hole_place;
	}
}
